package com.xbk.seckill.common.model.enums;

/**
 * 分桶库存状态
 *
 * @author xiexu
 * @date 2025/3/8 22:20
 */
public enum SeckillStockBucketStatus {

    /**
     * 启用
     */
    ENABLED(1),

    /**
     * 关闭
     */
    DISABLED(0);

    private final Integer code;

    SeckillStockBucketStatus(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

}
